home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 10
/
The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso
/
PC_SIGCD
/
01
/
3
/
DISK0130.ZIP
/
SORTF.MAN
< prev
next >
Wrap
Text File
|
1983-09-07
|
678b
|
26 lines
.im man.im
.NM sortf sort text lines
.SY sortf
.FU
.ital sortf
sorts its input into ascending lexicographic order.
Two lines are in order if they are identical or if the leftmost character
position in which they differ contains characters which are in order,
using the internal numeric representation of the characters.
If a line is a proper prefix of another line, it precedes that line in
sort order.
.sp
.ital sortf
writes intermediate data to files
named
.ital stemp#,
where # is a small decimal digit string;
these filenames should be avoided.
.EG
To print the sorted output of a program:
.Q1
program }temp1
sortf {temp1 }temp2
printf {temp2
.Q2